package basecamp.topo.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import basecamp.topo.server.RockFace;
import basecamp.topo.shared.FaceID;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface TopoService extends RemoteService {
	void addFace(String name, String svg) throws IllegalArgumentException;
	List<FaceID> getFaces() throws IllegalArgumentException;
	String getFaceSVG(int id) throws IllegalArgumentException;
	//RockFace getFace(int id) throws IllegalArgumentException;
}
